#include <stdio.h>

int findLengthOfLCIS(int* nums, int numsSize)
{
    int max = 1;
    int count = 1;
    for(int i = 0;i < numsSize;i++)
    {
        if(nums[i] < nums[i + 1])
            count++;
        else
            count = 0;
        max = max > count ? max : count;
    }
    return max;
}

int main()
{
    int nums[] = {1,2,3,2,5,2};
    int numsSize = sizeof(nums)/sizeof(nums[0]);
    int n = findLengthOfLCIS(nums,numsSize);
    printf("%d\n",n);
    return 0;
}